package com.yuw.bean;

import java.util.Date;

/**
 * @author Administrator 映射原则：属性名和数据库字段名保持一致【dbutils中不区分大小写】
 *         约定：表达的name属性值和数据库的字段名保持一致【大小写敏感】
 */
public class AdminInfoBean {
	private Integer adminid; // 主键字段【新增该字段为null，修改该字段为具体值】
	private String adminname;
	private String adminpsw;
	private String adminaddress;
	private String admintel;
	private Date regdate;
	// 查询使用的参数，不需要和数据字段进行映射
	private Date regdate2;
	private String adminimg;
	private String adminsex;

	public Date getRegdate2() {
		return regdate2;
	}

	public void setRegdate2(Date regdate2) {
		this.regdate2 = regdate2;
	}

	public String getAdminsex() {
		return adminsex;
	}

	public void setAdminsex(String adminsex) {
		this.adminsex = adminsex;
	}

	public Date getRegdate() {
		return regdate;
	}

	public void setRegdate(Date regdate) {
		this.regdate = regdate;
	}

	public String getAdminimg() {
		return adminimg;
	}

	public void setAdminimg(String adminimg) {
		this.adminimg = adminimg;
	}

	public Integer getAdminid() {
		return adminid;
	}

	public void setAdminid(Integer adminid) {
		this.adminid = adminid;
	}

	public String getAdminname() {
		return adminname;
	}

	public void setAdminname(String adminname) {
		this.adminname = adminname;
	}

	public String getAdminpsw() {
		return adminpsw;
	}

	public void setAdminpsw(String adminpsw) {
		this.adminpsw = adminpsw;
	}

	public String getAdminaddress() {
		return adminaddress;
	}

	public void setAdminaddress(String adminaddress) {
		this.adminaddress = adminaddress;
	}

	public String getAdmintel() {
		return admintel;
	}

	public void setAdmintel(String admintel) {
		this.admintel = admintel;
	}

	@Override
	public String toString() {
		return "AdminInfoBean [adminid=" + adminid + ", adminname=" + adminname + ", adminpsw=" + adminpsw
				+ ", adminaddress=" + adminaddress + ", admintel=" + admintel + ", regdate=" + regdate + ", adminimg="
				+ adminimg + ", adminsex=" + adminsex + "]";
	}

}
